Package jeresources.profiling
Class ProfilingTimer
java.lang.Object
jeresources.profiling.ProfilingTimer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()voidendChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey) longgetBlocksPerLayer(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey) booleanvoidstartChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
-
Constructor Details
-
ProfilingTimer
public ProfilingTimer(net.minecraft.commands.CommandSource sender, int chunkCount)
-
-
Method Details
-
startChunk
public void startChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey) -
endChunk
public void endChunk(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey) -
complete
public void complete() -
isCompleted
public boolean isCompleted() -
getBlocksPerLayer
public long getBlocksPerLayer(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> worldRegistryKey)
-